package cn.tfyhyc.springcloud.stream;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author 头发又黑又长
 * @Date 2022/10/18 23:33
 * @email zwb15083976291@163.com
 */
// 自定义的生产者通道
public interface CustomSource {
    String OUTPUT = "custom_output";

    @Output(CustomSource.OUTPUT)
    MessageChannel output();
}
